<template>
  <div id="box">
    <!-- 用户信息 -->
    <div class="user-info">
      <span>头像</span>
      <div class="data">
        <table>
          <tr>
            <td>头条</td>
            <td>关注</td>
            <td>粉丝</td>
            <td>获赞</td>
          </tr>
        </table>
      </div>
    </div>
    <div class="history">
      <table>
        <tr>
          <td>收藏</td>
          <td>历史</td>
        </tr>
      </table>
    </div>
    <div class="list">
      小智同学
    </div>
    <div class="list">
      <button>退出登录</button>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Profile'
}
</script>

<style lang="less" scoped>
  #box {
    width: 100%;
    height: 100%;
    background-color: rgba(204, 204, 204, 0.24);
  }
  .user-info {
    width: 100%;
    height: 350px;
    background-color: #409eff;
  }
  .data > table {
    width: 100%;
    text-align: center;
    font-size: 45px;
    color: #fff;
    position: absolute;
    left: 0;
    right: 0;
    top: 250px;
  }
  .history > table {
    width: 100%;
    text-align: center;
    font-size: 40px;
    padding: 30px 0;
  }
  .list {
    margin: 40px 0;
    background-color: #fff;
    text-align: center;
  }
</style>